<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>CANVAS Starfield Playground</title>
    <meta name="description" content="Canvas Playground.">
    <script type="application/javascript" src="./js/starfield.js"></script>

    <script type="application/javascript">
        function main() {
            var starfield = new Starfield(200, true);
        };
    </script>


</head>

<body onload="main();">
    <div class="content">Content</div>
    <canvas id="bg" width="640" height="480" style="position: absolute; z-index: 0; background-color: #000;">
    </canvas>
    <canvas id="fg" width="640" height="480" style="position: absolute; z-index: 1">
    </canvas>
    <canvas id="stats" width="120" height="32" style="position: absolute; z-index: 2">
    </canvas>
</body>

</html>